package com.red.dubbosimulate.consumer;

import com.red.dubbosimulate.framework.Invocation;
import com.red.dubbosimulate.framework.ProxyFacory;
import com.red.dubbosimulate.framework.protocol.http.HttpClient;
import com.red.dubbosimulate.provider.api.HelloService;

public class Consumer {

    public static void main(String[] args) {

        HelloService proxy = ProxyFacory.getProxy(HelloService.class);
        String result = proxy.sayHello("周瑜好帅");
        System.out.println(result);


    }
}
